package manager 
{
	import model.battle.Heartbeat;
	/**
	 * ...
	 * @author Kylin206
	 */
	public class UnitManager 
	{
		private static var _instance:UnitManager;
		private var _hb:Heartbeat;
		
		public function UnitManager() 
		{
			_hb = Heartbeat.instance;
		}
		
		static public function get instance(): UnitManager
		{
			if (!_instance)_instance = new UnitManager();
			return _instance;
		}
		
		public function get heartbeat():Heartbeat 
		{
			return _hb;
		}
		
	}

}